package grg.learn.compose.ui.theme

import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.TextUnit
import androidx.compose.ui.unit.sp

data class Theme(
    /** 首页背景颜色 **/
    val mainBgColor: Color,
    /** 首页菜单选中颜色 **/
    val menuSelectColor: Color,
    /** 首页菜单反选中颜色 **/
    val menuUnSelectColor: Color,


    /** 主要颜色 **/
    var primaryColor: Color = Color.Green,

    /**
     * create by iso88591 at 2021/8/21 🤗
     * 字体配置
     */

    /** 主要字体颜色 **/
    var primaryTextColor: Color = Color.Black,
    /** 字体大小 **/
    var primaryTextSize: TextUnit = 12.sp


) {

    companion object {

        val Dark = Theme(
            mainBgColor = Color.Black,
            menuSelectColor = Colors._1afa29,
            menuUnSelectColor = Color.White,

            primaryTextColor = Color.White,
        )


        val Day = Theme(
            mainBgColor = Color.White,
            menuSelectColor = Colors._1afa29,
            menuUnSelectColor = Color.Black
        )

    }

}
